/************************************************************************************

 *    author : Jacl
 *    e-mail : 2320025806@qq.com
 *    date   : 20210109
 *    desc   : PRV564S config file
 *    version: 0.0

 __  __                   __           __         
/\ \/\ \                 /\ \__       /\ \        
\ \ \ \ \    ___     ____\ \ ,_\   ___\ \ \/'\    
 \ \ \ \ \  / __`\  /',__\\ \ \/  / __`\ \ , <    
  \ \ \_/ \/\ \L\ \/\__, `\\ \ \_/\ \L\ \ \ \\`\  
   \ `\___/\ \____/\/\____/ \ \__\ \____/\ \_\ \_\
    `\/__/  \/___/  \/___/   \/__/\/___/  \/_/\/_/

************************************************************************************/
`define XLEN            64                          //RV64 YES!
`define TLB_switch      1                           //TLB  YES!
`define ITLB_entry_NUM  16
`define DTLB_entry_NUM  16
`define PADR            32
`define Simulation      0                           //If 1, the files are simulation-use
`define L1_switch       0                           //If 1, Cache is used; if 0 , ITCM is used
`define Mcop_switch     1                           //If 1, Math coprocessor is used, if 0, no math-coprocessor
`define PC_reset        64'h0000_0000_0000_0000
`define Cacheable_MASK  64'hFFFF_FFFF_8000_0000     // If Address & Cacheable_MASK = Cacheable_ADDR, then the space can be cache
`define Cacheable_ADDR  64'h0000_0000_8000_0000
`define SFR_ADDR_MASK   64'hFFFF_FFFF_FFFF_0000     // If Address & SFR_ADDR_MASK = SFR_ADDR_SEG, the address is in SFR segment
`define SFR_ADDR_SEG    64'h0000_0000_2000_0000